package net.lab1024.sa.admin.module.business.erp.domain.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.List;

import lombok.Data;



@Data
@TableName("wage")
public class WageEntity {


    @TableId(type = IdType.AUTO)
    private Long docEntry;
    private Long objId;
    private String objName;
    private String docStatus;
    private Long deptId;
    private String deptName;
    private Integer absId;
    private Boolean approved;
    private String remark;
    @Version
    private Integer version;
    @TableField(fill = FieldFill.INSERT)
    private Long createById;
    @TableField(fill = FieldFill.INSERT)
    private String createBy;
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Long updateById;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String updateBy;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

    @TableField(exist = false)
    private List<WageaEntity> lista =  new ArrayList<>();
}
